package org.shoukaiseki.supersaiyan.enums;


import org.shoukaiseki.kakaroto.Interface.DictTypeEnumData;
import org.shoukaiseki.kakaroto.annotation.DictTypeEnum;
import org.shoukaiseki.kakaroto.entity.BaseDictEnum;
import org.shoukaiseki.kakaroto.enums.DictDataCssClass;

//@DictTypeEnum(dictType = "inventory_responseFlag",dictName = "是否提供物料需求标识")
public enum InventoryResponseFlag implements DictTypeEnumData {

    none(new BaseDictEnum()
            .setValue(0)
            .setLabel("无")
            .setCssClass(DictDataCssClass.dictTextTagSuccess)
            .setRemark("不提供需求")),
    supplyStart(new BaseDictEnum()
            .setValue(1)
            .setLabel("供应")
            .setCssClass(DictDataCssClass.dictTextTagDanger)
            .setRemark("采购中/接收中等服务提供者")),
    supplyEnd(new BaseDictEnum()
            .setValue(2)
            .setLabel("不再供应")
            .setCssClass(DictDataCssClass.dictTextTagSuccess)
            .setRemark("不再提供需求(生产计划完结/订单已完结等)")),
    //暂未使用
    supplyStartWappr(new BaseDictEnum()
            .setValue(4)
            .setLabel("供应,等待审核批准")
            .setCssClass(DictDataCssClass.dictTextTagSuccess)
            .setRemark("采购中/接收中等服务提供者,需要审核批准后才计算入全局在途中")),
    ;

    private BaseDictEnum dictEnum;

    private InventoryResponseFlag(BaseDictEnum dictEnum) {
        this.dictEnum=dictEnum;
    }


    @Override
    public BaseDictEnum getDictEnum() {
        return dictEnum;
    }


}
